package org.easymis.crm.modules.biplatform.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.UUID;

import org.easymis.crm.modules.biplatform.entitys.mybatis.dto.Card;
import org.easymis.crm.modules.biplatform.entitys.mybatis.dto.Dashboard;
import org.easymis.crm.modules.biplatform.entitys.mybatis.mapper.DashboardMapper;
import org.easymis.crm.modules.biplatform.service.DashboardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class DashboardServiceImpl implements DashboardService {
	@Autowired
	DashboardMapper mapper;

	@Override
	public List<Dashboard> getList(HashMap<String, Object> params) {
		// TODO Auto-generated method stub
		return mapper.getList(params);
	}

	@Override
	public void save(Dashboard bean) {
		bean.setDashboardId(UUID.randomUUID().toString());
		mapper.save(bean);
	}

	@Override
	public void saveBatch(List<Dashboard> beans) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void update(Dashboard bean) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete(String DashboardId) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void removeBatch(List<String> list) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void restoreBatch(List<String> list) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void deleteBatch(List<String> list) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Dashboard findById(String dashboardId) {
		// TODO Auto-generated method stub
		return mapper.findById(dashboardId);
	}

	@Override
	public List<Card> findByIds(List<String> list) {
		// TODO Auto-generated method stub
		return null;
	}
}
